using System;
using System.Collections.Generic;
using System.Text;

namespace Sandia.MVCFramework.Request
{
    /// <summary>
    /// A request parameter used to carry a plugin Id.
    /// </summary>
    public class PluginIdRequestParameter : AbstractStandardRequestParameter
    {
        /// <summary>
        /// Human readable name of the parameter
        /// </summary>
        public static string NAME = "PluginIdRequestParameter";

        /// <summary>
        /// Initializes name of the request parameter
        /// </summary>
        /// <returns>Name of the request parameter</returns>
        protected override string initName()
        {
            return PluginIdRequestParameter.NAME;
        }

        /// <summary>
        /// Constructor for PluginIdRequestParameter.
        /// </summary>
        /// <param name="id">
        /// A plugin Id.
        /// </param>
        public PluginIdRequestParameter(
            string id)
        {
            this.Data = id;
        }
    }
}
